# include <stdio.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <unistd.h>
# include <sys/mman.h>
# include <strings.h>
# include <linux/input.h>
# include <stdlib.h>
# include <pthread.h>

void *fun(void *arg)
{
	while(1)
	{
		
		printf("123456789\n");
		sleep(1);
	}
}

int main(void)
{
	
	pthread_t tid;
	int i;
	i=0;
	pthread_create(&tid,NULL,fun,NULL);
	while(1)
	{
		printf("%d\n",i);
		i++;
		sleep(1);
	}
	return 0;
}

